
package com.lee.tree; 
 
import java.io.Serializable; 
 
public class TwoTuple<A,B> implements Serializable { 
    public final A first;
    public final B second;
    public TwoTuple(A first,B second){
        this.first = first;
        this.second = second;
    }
 
    @Override
    public String toString() {
        return "TwoTuple{" +
                "first=" + first +
                ", second=" + second +
                '}';
    }
} 
